<div id="fb-root"></div>
{literal}
<script type="text/javascript">
	var btnFbLogin = '<div id="btnFbLogin">FB Login</div>';
	var btnFbRegister = '<div id="btnFbRegister">FB Register</div>';

	$(document).ready(function () {
		$('#header_user_info').append(btnFbLogin);
		
		$("#btnFbLogin").click(function() {		
			/*
			 * Handle Facebook Login
			 */
			vsFbLogin();
		});
	});	
</script>
{/literal}
<form id="formFbLogin" name="formFbLogin" method="post" action="{$currentUrl}">
	<input type="hidden" name="email" value="" />
	<input type="hidden" name="gender" value="" />
	<input type="hidden" name="first_name" value="" />
	<input type="hidden" name="last_name" value="" />
	<input type="hidden" name="name" value="" />
	<input type="hidden" name="imageSrc" value="" />
	<input type="hidden" name="birthday" value="" />
	
	<input type="hidden" name="returnUrl" value="{$currentUrl}" />
	
	<input type="hidden" name="submitFbLogin" value="1" />
</form>
